<?php /* Smarty version 2.6.16, created on 2009-04-23 04:37:39
         compiled from Top.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'Top.html', 11, false),array('function', 'img', 'Top.html', 11, false),array('function', 'language', 'Top.html', 16, false),)), $this); ?>
<table width="100%" cellpadding="0" cellspacing="4" border="0">
<?php $_from = $this->_tpl_vars['aItems']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['aitems'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['aitems']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['aItem']):
        $this->_foreach['aitems']['iteration']++;
?>
    <tr>
        <td style="text-align:left;vertical-align:middle;" class="border2">
            <table style="width:100%;">
                <tr>
                    <td style="width:10%;text-align:center;vertical-align:top;">
                        <div style="font-size:11pt;"><b>#<?php echo $this->_tpl_vars['key']+1; ?>
</b></div>
                    </td>
                    <td style="width:50%;text-align:left;">
                        <a href="<?php echo smarty_function_url(array('link' => 'public.gallery.rate','rateid' => $this->_tpl_vars['aItem']['id']), $this);?>
"><?php echo smarty_function_img(array('src' => ($this->_tpl_vars['sGImageUrl'])."thumb/".($this->_tpl_vars['aItem']['id']).".jpg",'src_def' => "design/pic/noimage_120.jpg",'style' => "vertical-align:middle;",'class' => 'pic1','onmouseover' => "this.className='pic2';",'onmouseout' => "this.className='pic1';"), $this);?>
</a>
                    </td>
                    <td style="width:40%;vertical-align:top;font-size:8pt;" class="color">
                        <table>
                        <tr>
                        	<td style="text-align:right;"><b><?php echo smarty_function_language(array('text' => 'rating'), $this);?>
</b>:</td>
                        	<td><?php echo $this->_tpl_vars['aItem']['rating']; ?>
</td>
                        </tr>
                        <tr>
                        	<td style="text-align:right;"><b><?php echo smarty_function_language(array('text' => 'votes'), $this);?>
</b>:</td>
                        	<td><?php echo $this->_tpl_vars['aItem']['votes']; ?>
</td>
                        </tr>
                        <tr>
                        	<td style="text-align:right;"><b><?php echo smarty_function_language(array('text' => 'views'), $this);?>
</b>:</td>
                        	<td><?php echo $this->_tpl_vars['aItem']['view']; ?>
</td>
                        </tr>
                        <tr>
                        	<td style="text-align:right;"><b><?php echo smarty_function_language(array('text' => 'posted_by_604'), $this);?>
</b>:</td>
                        	<td><a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aItem']['user']), $this);?>
"><?php echo $this->_tpl_vars['aItem']['user']; ?>
</a></td>
                        </tr>
                        <tr>
                        	<td></td>
                        	<td><a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.gallery.rate','rateid' => $this->_tpl_vars['aItem']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'rate_now'), $this);?>
 ]</a></td>
                        </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
<?php endforeach; else: ?>
    <tr>
        <td style="font-size:8pt;width:100%;vertical-align:top;" class="color">
            <div class="message_info">
            	<?php echo smarty_function_language(array('text' => 'there_are_no_images_yet'), $this);?>

            	<div style="padding:15px;">
                    <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.account.submit.upload-pic'), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'upload_your_pic_now'), $this);?>
 ]</a>
            	</div>
            </div>
        </td>
    </tr>
<?php endif; unset($_from); ?>
</table>